# -*- coding:utf-8 -*-
"""
@PC YJSP
@FileName download_fail
@Author hwz
@Date 2019/7/11 12:31
@ProjectName py-projects
"""
import requests
import threading
import time

urls = '''https://www.manhuadb.com/static/67/749/10_drpvmkpc.jpg
https://www.manhuadb.com/static/67/749/11_jvtnzlia.jpg
https://www.manhuadb.com/static/67/749/12_xjwwhlwr.jpg
https://www.manhuadb.com/static/67/749/13_yibyjvpn.jpg
https://www.manhuadb.com/static/67/749/14_irhhsudd.jpg
https://www.manhuadb.com/static/67/749/15_ykabtqqt.jpg
https://www.manhuadb.com/static/67/749/16_apiowwrv.jpg
https://www.manhuadb.com/static/67/749/17_kombldug.jpg
https://www.manhuadb.com/static/67/749/18_zrifisbl.jpg
https://www.manhuadb.com/static/67/749/19_zsrpgxyw.jpg
https://www.manhuadb.com/static/67/749/20_tfwiqdln.jpg
https://www.manhuadb.com/static/67/749/21_esyyfhop.jpg
https://www.manhuadb.com/static/67/749/22_bnvhtybo.jpg
https://www.manhuadb.com/static/67/749/23_ndghnwmi.jpg
https://www.manhuadb.com/static/67/749/24_tnwesyga.jpg
https://www.manhuadb.com/static/67/749/25_ymclvxkr.jpg
https://www.manhuadb.com/static/67/749/26_wyezhyrm.jpg
https://www.manhuadb.com/static/67/749/27_jcxczejz.jpg
https://www.manhuadb.com/static/67/749/28_vtvlfeqa.jpg
https://www.manhuadb.com/static/67/749/29_fggyvfec.jpg
https://www.manhuadb.com/static/67/749/30_rkoobfci.jpg
https://www.manhuadb.com/static/67/749/31_bktwrues.jpg
https://www.manhuadb.com/static/67/749/32_sadmxdkq.jpg
https://www.manhuadb.com/static/67/749/33_ywgqswmy.jpg
https://www.manhuadb.com/static/67/749/34_lcpktaek.jpg
https://www.manhuadb.com/static/67/749/35_fcggnomb.jpg
https://www.manhuadb.com/static/67/749/36_dvqyquru.jpg
https://www.manhuadb.com/static/67/749/37_qpnhlnzl.jpg
https://www.manhuadb.com/static/67/749/38_ybgaawhr.jpg
https://www.manhuadb.com/static/67/749/39_ydalewjj.jpg
https://www.manhuadb.com/static/67/749/40_hzcwfdrh.jpg
https://www.manhuadb.com/static/67/749/41_xdnndees.jpg
https://www.manhuadb.com/static/67/749/42_hgfpldxo.jpg
https://www.manhuadb.com/static/67/749/43_zvdpkawi.jpg
https://www.manhuadb.com/static/67/749/44_jnueinxp.jpg
https://www.manhuadb.com/static/67/749/45_suystjur.jpg
https://www.manhuadb.com/static/67/749/46_ahkbegvn.jpg
https://www.manhuadb.com/static/67/749/47_nvoczade.jpg
https://www.manhuadb.com/static/67/749/48_oczurmup.jpg
https://www.manhuadb.com/static/67/749/49_mktplgky.jpg
https://www.manhuadb.com/static/67/749/50_vbusqhqy.jpg
https://www.manhuadb.com/static/67/749/51_pyemekho.jpg
https://www.manhuadb.com/static/67/749/52_abdasqjo.jpg
https://www.manhuadb.com/static/67/749/53_aijtxbac.jpg
https://www.manhuadb.com/static/67/749/54_aljfwiio.jpg
https://www.manhuadb.com/static/67/749/55_qiukipdx.jpg
https://www.manhuadb.com/static/67/749/56_jhuseytm.jpg
https://www.manhuadb.com/static/67/749/57_kdsbutkg.jpg
https://www.manhuadb.com/static/67/749/58_mzexvljz.jpg
https://www.manhuadb.com/static/67/749/59_yaapvntp.jpg
https://www.manhuadb.com/static/67/749/60_upoqpeda.jpg
https://www.manhuadb.com/static/67/749/61_hssrakhu.jpg
https://www.manhuadb.com/static/67/749/62_znyjlfub.jpg
https://www.manhuadb.com/static/67/749/63_gpunoniy.jpg
https://www.manhuadb.com/static/67/749/64_lldvnvqc.jpg
https://www.manhuadb.com/static/67/749/65_zcacvcwb.jpg
https://www.manhuadb.com/static/67/749/66_utarxgzi.jpg
https://www.manhuadb.com/static/67/749/67_toootwfr.jpg
https://www.manhuadb.com/static/67/749/68_srylkmfd.jpg
https://www.manhuadb.com/static/67/749/69_fgqiurqr.jpg
https://www.manhuadb.com/static/67/749/70_nbczxwii.jpg
https://www.manhuadb.com/static/67/749/71_jorlfwjg.jpg
https://www.manhuadb.com/static/67/749/72_mbltmwhq.jpg
https://www.manhuadb.com/static/67/749/73_bynbbehr.jpg
https://www.manhuadb.com/static/67/749/74_mrmjzmuz.jpg
https://www.manhuadb.com/static/67/749/75_pbanmfrr.jpg
https://www.manhuadb.com/static/67/749/76_hxxaappe.jpg
https://www.manhuadb.com/static/67/749/77_oenvnbph.jpg
https://www.manhuadb.com/static/67/749/78_inahwcdu.jpg
https://www.manhuadb.com/static/67/749/79_rfusghum.jpg
https://www.manhuadb.com/static/67/749/80_aanbijmz.jpg
https://www.manhuadb.com/static/67/749/81_iauhchfy.jpg
https://www.manhuadb.com/static/67/749/82_tavyskip.jpg
https://www.manhuadb.com/static/67/749/83_xwthyctp.jpg
https://www.manhuadb.com/static/67/749/84_rcgjtuvj.jpg
https://www.manhuadb.com/static/67/749/85_etiunhxk.jpg
https://www.manhuadb.com/static/67/749/86_ivogrfwd.jpg
https://www.manhuadb.com/static/67/749/87_pfnrokks.jpg
https://www.manhuadb.com/static/67/749/88_nbzhuhbo.jpg
https://www.manhuadb.com/static/67/749/89_urvgnupw.jpg
https://www.manhuadb.com/static/67/749/90_puekspba.jpg
https://www.manhuadb.com/static/67/749/91_kclncety.jpg
https://www.manhuadb.com/static/67/749/92_mddrqwpv.jpg
https://www.manhuadb.com/static/67/749/93_fcygszry.jpg
https://www.manhuadb.com/static/67/749/94_jdcqeues.jpg
https://www.manhuadb.com/static/67/749/95_ocasxvtd.jpg
https://www.manhuadb.com/static/67/749/96_twgpypgm.jpg
https://www.manhuadb.com/static/67/749/97_bfushxbp.jpg
https://www.manhuadb.com/static/67/749/98_rkgwcydy.jpg
https://www.manhuadb.com/static/67/749/99_jhzrovad.jpg
https://www.manhuadb.com/static/67/749/100_ehplrjlk.jpg
https://www.manhuadb.com/static/67/749/101_kbkyzaps.jpg
https://www.manhuadb.com/static/67/749/102_vsmasqzn.jpg
https://www.manhuadb.com/static/67/749/103_hocecttd.jpg
https://www.manhuadb.com/static/67/749/104_remwgmqo.jpg
https://www.manhuadb.com/static/67/749/105_vezsozuo.jpg
https://www.manhuadb.com/static/67/749/106_kbggwmmd.jpg
https://www.manhuadb.com/static/67/749/107_qflvjqky.jpg
https://www.manhuadb.com/static/67/749/108_uxamqrww.jpg
https://www.manhuadb.com/static/67/749/109_aprjyprr.jpg
https://www.manhuadb.com/static/67/749/110_zxgvrjvr.jpg
https://www.manhuadb.com/static/67/749/111_ytvpppnu.jpg
https://www.manhuadb.com/static/67/749/112_saomxghx.jpg
https://www.manhuadb.com/static/67/749/113_mhioevhs.jpg
https://www.manhuadb.com/static/67/749/114_brfybyei.jpg
https://www.manhuadb.com/static/67/749/115_rknttlva.jpg
https://www.manhuadb.com/static/67/749/116_wuwpeeil.jpg
https://www.manhuadb.com/static/67/749/117_wkwjfoiv.jpg
https://www.manhuadb.com/static/67/749/118_imyhpqya.jpg
https://www.manhuadb.com/static/67/749/119_somzupap.jpg
https://www.manhuadb.com/static/67/749/120_vrnfrzol.jpg
https://www.manhuadb.com/static/67/749/121_numjufuv.jpg
https://www.manhuadb.com/static/67/749/122_vixbvbqi.jpg
https://www.manhuadb.com/static/67/749/123_xfkguthz.jpg
https://www.manhuadb.com/static/67/749/124_prxjnsze.jpg
https://www.manhuadb.com/static/67/749/125_kwfpxfvh.jpg
https://www.manhuadb.com/static/67/749/126_fidtntmw.jpg
https://www.manhuadb.com/static/67/749/127_rqucmkom.jpg
https://www.manhuadb.com/static/67/749/128_sspcxoey.jpg
https://www.manhuadb.com/static/67/749/129_ywbsqsem.jpg
https://www.manhuadb.com/static/67/749/130_hlixsenk.jpg
https://www.manhuadb.com/static/67/749/131_atjtqlfj.jpg
https://www.manhuadb.com/static/67/749/132_fgtgmfih.jpg
https://www.manhuadb.com/static/67/749/133_jbphqxwh.jpg
https://www.manhuadb.com/static/67/749/134_idmqoamx.jpg
https://www.manhuadb.com/static/67/749/135_mynptpmx.jpg
https://www.manhuadb.com/static/67/749/136_ojijezte.jpg
https://www.manhuadb.com/static/67/749/137_uqrqvotc.jpg
https://www.manhuadb.com/static/67/749/138_aricneca.jpg
https://www.manhuadb.com/static/67/749/139_fcacallr.jpg
https://www.manhuadb.com/static/67/749/140_uroqispl.jpg
https://www.manhuadb.com/static/67/749/141_mcqhtufk.jpg
https://www.manhuadb.com/static/67/749/142_gynxmqnx.jpg
https://www.manhuadb.com/static/67/749/143_cvsbkyso.jpg
https://www.manhuadb.com/static/67/749/144_okwnhjsl.jpg
https://www.manhuadb.com/static/67/749/145_tsepmtkh.jpg
https://www.manhuadb.com/static/67/749/146_axucolqw.jpg
https://www.manhuadb.com/static/67/749/147_bxrmffwf.jpg
https://www.manhuadb.com/static/67/749/148_zxjfjigo.jpg
https://www.manhuadb.com/static/67/749/149_oinpkvib.jpg
https://www.manhuadb.com/static/67/749/150_dockgkzs.jpg
https://www.manhuadb.com/static/67/749/151_lwpmmtlo.jpg
https://www.manhuadb.com/static/67/749/152_lrtbgnwi.jpg
https://www.manhuadb.com/static/67/749/153_ajsnbxmj.jpg
https://www.manhuadb.com/static/67/749/154_bdhsijtq.jpg
https://www.manhuadb.com/static/67/749/155_hcubyuul.jpg
https://www.manhuadb.com/static/67/749/156_gjziqwfu.jpg
https://www.manhuadb.com/static/67/749/157_cvlzpspt.jpg
https://www.manhuadb.com/static/67/749/158_yaatglqz.jpg
https://www.manhuadb.com/static/67/749/159_uohgrfva.jpg
https://www.manhuadb.com/static/67/749/160_xjwappdf.jpg
https://www.manhuadb.com/static/67/749/161_lnrvwfcw.jpg
https://www.manhuadb.com/static/67/749/162_blsfuaqs.jpg
https://www.manhuadb.com/static/67/749/163_hnouqzku.jpg
https://www.manhuadb.com/static/67/749/164_vajdwnbg.jpg
https://www.manhuadb.com/static/67/749/165_wdfaktcq.jpg
https://www.manhuadb.com/static/67/749/166_chsmzmbt.jpg
https://www.manhuadb.com/static/67/749/167_fhvqcrgo.jpg
https://www.manhuadb.com/static/67/749/168_cmrrtgtg.jpg
https://www.manhuadb.com/static/67/749/169_atdapywq.jpg
https://www.manhuadb.com/static/67/749/170_pvoxvbkx.jpg
https://www.manhuadb.com/static/67/749/171_bvtavjgo.jpg
https://www.manhuadb.com/static/67/749/172_cqrbofes.jpg
https://www.manhuadb.com/static/67/749/173_zmivxjoz.jpg
https://www.manhuadb.com/static/67/749/174_isynkxqu.jpg
https://www.manhuadb.com/static/67/749/175_ckcvcrsf.jpg
https://www.manhuadb.com/static/67/749/176_mgbpzfca.jpg
https://www.manhuadb.com/static/67/749/177_rsjwkmbv.jpg
https://www.manhuadb.com/static/67/749/178_qdjtmsat.jpg
https://www.manhuadb.com/static/67/749/179_eplppkda.jpg
https://www.manhuadb.com/static/67/749/180_bahqltxt.jpg
https://www.manhuadb.com/static/67/749/181_erhntycs.jpg
https://www.manhuadb.com/static/67/749/182_cdgqzmvl.jpg
https://www.manhuadb.com/static/67/749/183_cxskmchs.jpg
https://www.manhuadb.com/static/67/749/184_yajlivgc.jpg
https://www.manhuadb.com/static/67/749/185_obpqofxk.jpg
https://www.manhuadb.com/static/67/749/186_ymxspvek.jpg
https://www.manhuadb.com/static/67/749/187_nxsalshh.jpg
https://www.manhuadb.com/static/67/749/188_urijrkqu.jpg
https://www.manhuadb.com/static/67/749/189_aowvtykk.jpg
https://www.manhuadb.com/static/67/749/190_aapwpjkf.jpg
https://www.manhuadb.com/static/67/749/191_ggekyfmn.jpg
https://www.manhuadb.com/static/67/749/192_ufgdtlym.jpg
https://www.manhuadb.com/static/67/749/193_ccqmllnx.jpg
https://www.manhuadb.com/static/67/749/194_etqmjorp.jpg
https://www.manhuadb.com/static/67/749/195_rofbkiqn.jpg
https://www.manhuadb.com/static/67/749/196_znalrnxy.jpg
https://www.manhuadb.com/static/67/749/197_okubmcie.jpg
https://www.manhuadb.com/static/67/749/198_cqomaued.jpg
https://www.manhuadb.com/static/67/749/199_pnizfyin.jpg
https://www.manhuadb.com/static/67/749/200_etmrknjb.jpg
https://www.manhuadb.com/static/67/749/201_mqdydpvs.jpg
https://www.manhuadb.com/static/67/749/202_aegexqbm.jpg
https://www.manhuadb.com/static/67/749/203_ziizgvze.jpg
https://www.manhuadb.com/static/67/749/204_tnjgikxp.jpg
https://www.manhuadb.com/static/67/749/205_swcduxlr.jpg
https://www.manhuadb.com/static/67/749/206_sbjjtjpi.jpg
https://www.manhuadb.com/static/67/749/207_iefveyox.jpg
https://www.manhuadb.com/static/67/749/208_thshheig.jpg
https://www.manhuadb.com/static/67/749/209_vgcfnzrx.jpg
https://www.manhuadb.com/static/67/749/210_xzthpemx.jpg
https://www.manhuadb.com/static/67/749/211_pcbaocbo.jpg
https://www.manhuadb.com/static/67/749/212_dwmjamkq.jpg
https://www.manhuadb.com/static/67/749/213_ykihstyl.jpg
https://www.manhuadb.com/static/67/749/214_aqujwzaf.jpg
https://www.manhuadb.com/static/67/749/215_dgbrlena.jpg
https://www.manhuadb.com/static/67/749/216_obtciqab.jpg
https://www.manhuadb.com/static/67/749/217_korxdiln.jpg
https://www.manhuadb.com/static/67/749/218_xppifafr.jpg
https://www.manhuadb.com/static/67/749/219_xtoperaf.jpg
https://www.manhuadb.com/static/67/749/220_irvnvsvq.jpg
https://www.manhuadb.com/static/67/749/221_drdkqdys.jpg
https://www.manhuadb.com/static/67/749/222_jykjpypl.jpg
https://www.manhuadb.com/static/67/749/223_iuougqdg.jpg
https://www.manhuadb.com/static/67/749/224_fldggmsp.jpg
https://www.manhuadb.com/static/67/749/225_pehpbsaj.jpg
https://www.manhuadb.com/static/67/749/226_nfynrwsg.jpg
https://www.manhuadb.com/static/67/749/227_patqnngb.jpg
https://www.manhuadb.com/static/67/749/228_kqlagjvf.jpg
https://www.manhuadb.com/static/67/749/229_iasiahti.jpg
https://www.manhuadb.com/static/67/749/230_plajdoly.jpg
https://www.manhuadb.com/static/67/749/231_ujspruic.jpg
https://www.manhuadb.com/static/67/749/232_szbjgqte.jpg
https://www.manhuadb.com/static/67/749/233_mnaiuxmp.jpg
https://www.manhuadb.com/static/67/749/234_bjhnelfb.jpg
https://www.manhuadb.com/static/67/749/235_qvzhtwut.jpg
https://www.manhuadb.com/static/67/749/236_tbthiulr.jpg
https://www.manhuadb.com/static/67/749/237_qpxsmzed.jpg
https://www.manhuadb.com/static/67/749/238_gcqyrbzl.jpg
https://www.manhuadb.com/static/67/749/239_csoznmfl.jpg
https://www.manhuadb.com/static/67/749/240_uaswmphp.jpg
https://www.manhuadb.com/static/67/749/241_rlxmngmx.jpg
https://www.manhuadb.com/static/67/749/242_bnejrrpi.jpg
https://www.manhuadb.com/static/67/749/243_ykmyjxge.jpg
https://www.manhuadb.com/static/67/749/244_fdpmgyrt.jpg
https://www.manhuadb.com/static/67/749/245_vzrgtpgs.jpg
https://www.manhuadb.com/static/67/749/246_vxwgsbfh.jpg
https://www.manhuadb.com/static/67/749/247_jmlbmeyk.jpg
https://www.manhuadb.com/static/67/749/248_nnurpbly.jpg
https://www.manhuadb.com/static/67/749/249_qwefpjtf.jpg
https://www.manhuadb.com/static/67/749/250_wukvvzqa.jpg
https://www.manhuadb.com/static/67/749/251_yqmzmfno.jpg
https://www.manhuadb.com/static/67/749/252_zxkcuklj.jpg
https://www.manhuadb.com/static/67/749/253_jlrjqytu.jpg
https://www.manhuadb.com/static/67/749/254_jyifhudz.jpg
https://www.manhuadb.com/static/67/749/255_yjyptsde.jpg
https://www.manhuadb.com/static/67/749/256_cxytgiow.jpg
https://www.manhuadb.com/static/67/749/257_fiwdfooo.jpg
https://www.manhuadb.com/static/67/749/258_rdbkknek.jpg
https://www.manhuadb.com/static/67/749/259_bqdvghhi.jpg
https://www.manhuadb.com/static/67/749/260_jqetvszi.jpg
https://www.manhuadb.com/static/67/749/261_ookrdzwm.jpg
https://www.manhuadb.com/static/67/749/262_yliqgtbp.jpg
https://www.manhuadb.com/static/67/749/263_padpvwwm.jpg
https://www.manhuadb.com/static/67/749/264_iglseaie.jpg
https://www.manhuadb.com/static/67/749/265_zhbobqpa.jpg
https://www.manhuadb.com/static/67/749/266_fiqqwcup.jpg
https://www.manhuadb.com/static/67/749/267_vhxvqjyb.jpg
https://www.manhuadb.com/static/67/749/268_eybnfsji.jpg
https://www.manhuadb.com/static/67/749/269_tmqbmzim.jpg
https://www.manhuadb.com/static/67/749/270_pmedxsrb.jpg
https://www.manhuadb.com/static/67/749/271_zfnagjdm.jpg
https://www.manhuadb.com/static/67/749/272_nrzvfala.jpg
https://www.manhuadb.com/static/67/749/273_imeseqih.jpg
https://www.manhuadb.com/static/67/749/274_bkrjalmc.jpg
https://www.manhuadb.com/static/67/749/275_eibucmzo.jpg
https://www.manhuadb.com/static/67/749/276_dlszeyrb.jpg
https://www.manhuadb.com/static/67/749/277_zzgttcox.jpg
https://www.manhuadb.com/static/67/749/278_ijytbwge.jpg
https://www.manhuadb.com/static/67/749/279_libsnpvc.jpg
https://www.manhuadb.com/static/67/749/280_rqxvjmhk.jpg
https://www.manhuadb.com/static/67/749/281_gaccwkeh.jpg
https://www.manhuadb.com/static/67/749/282_gbhszwrh.jpg
https://www.manhuadb.com/static/67/749/283_fdemcwmg.jpg
https://www.manhuadb.com/static/67/749/284_rijhjanu.jpg
https://www.manhuadb.com/static/67/749/285_lkwjlwjz.jpg
https://www.manhuadb.com/static/67/749/286_bnuilnlu.jpg
https://www.manhuadb.com/static/67/749/287_pygumjjq.jpg
https://www.manhuadb.com/static/67/749/288_xfeehhyb.jpg
https://www.manhuadb.com/static/67/749/289_yqxgghrn.jpg
https://www.manhuadb.com/static/67/749/290_pmfxxfum.jpg
https://www.manhuadb.com/static/67/749/291_cvuqijht.jpg'''

def downloadFile(root_path, path, name, url):
    headers = {'Proxy-Connection': 'keep-alive'}
    r = requests.get(url, stream=True, headers=headers)
    f = open(r'C:\Users\YJSP\PycharmProjects\py-projects\spiders\NewComicGetter\NewComicGetter\死亡笔记\[死亡笔记][大场鸫×小畑健][文传][C.C]Vol_13/' + name + '.png', 'wb')
    for chunk in r.iter_content(chunk_size=512):
        if chunk:
            f.write(chunk)
    f.close()
def main():
    name = 1
    for i in urls.splitlines():
        dw = threading.Thread(target=downloadFile, args=('', '', str(name), i))
        dw.start()
        name += 1
        if (name - 0) % 3 == 0:
            time.sleep(3.5)


if __name__ == '__main__':
    main()